﻿<Application x:Class="TriviaViews.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:viewModel="clr-namespace:TriviaViewModel;assembly=TriviaViewModel"
             xmlns:view="clr-namespace:TriviaViews.Views"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <viewModel:ViewModelLocator x:Key="Locator"></viewModel:ViewModelLocator>
        <DataTemplate DataType="{x:Type viewModel:EntryViewModelWizard}">
            <view:EntranceView></view:EntranceView>
        </DataTemplate>
        <DataTemplate DataType="{x:Type viewModel:GameViewModelWizard}">
            <view:GameView></view:GameView>
        </DataTemplate>
        <DataTemplate DataType="{x:Type viewModel:ScoreBoardViewModelWizard}">
            <view:ScoreBoardView></view:ScoreBoardView>
        </DataTemplate>
        <DataTemplate DataType="{x:Type viewModel:AddQuestionViewModel}">
            <view:QuestionView></view:QuestionView>
        </DataTemplate>
        <DataTemplate DataType="{x:Type viewModel:DifficultyAndTopicViewModel}">
            <view:DifficultyTopicView></view:DifficultyTopicView>
        </DataTemplate>
    </Application.Resources>
</Application>
